#ifndef _SO_ROUGH_SET_DEF_H_
#define _SO_ROUGH_SET_DEF_H_
#include "RS.h"
#include "SODefinitor.h"
class CSORoughSet
{
public:
	void init(const CString& workDir,double alpha,bool fromOriginal=true);
	//virtual void define(const CString &dir);	
	void traverse(const CString &dir,int textNum);
	void reduceAttr();
private:
	void initWIL();
	void initNeg();
	bool isNeg(const CString &word);
	//void initTWF();
	//void initSOCountList();
	//void diff();
	//bool getSO(double rate);
	//std::vector<double> m_result;
	//wordCountMap m_wordCMap;
	wordSingleCountMap m_wordIdList;
	std::vector<wordInfo> m_words;
	CRS			m_rs;
	CString m_workDir;
	double      m_alpha;
	std::vector<CString> m_negs;
	bool		m_bFromOriginal;
};
#endif